package org.hydrakyoufeng.stuplatform.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.hydrakyoufeng.stuplatform.utils.ResultEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("permission")
@Tag(name = "权限")
public class PermissionController {

    @PostMapping("queryList")
    @ResponseBody
    public ResponseEntity queryList()  {
        return ResponseEntity.ok(ResultEntity.success("权限列表：查询成功"));
    }

}